//信息板块
import { Divider } from "antd";
import React from "react";
import SubTitle from "@/pages/OrderModule/common/components/SubTitle";
import styles from "./index.module.less";

const InfoContent = props => {
	const { title = "", data = [] } = props;
	return (
		<div className={styles.containerItem}>
			<SubTitle title={title} as="s2" symbol />
			<Divider />
			<div className={styles.contentItem}>
				{data.map(item => (
					<div className={styles.contentBox} key={item.key}>
						{item.name}
					</div>
				))}
			</div>
		</div>
	);
};

export default InfoContent;
